#ifndef VISITOR_H
#define VISITOR_H

#include "Element/cpu.h"
#include "Element/vediocard.h"
#include "Element/mainboard.h"
#include "Element/gpu.h"

#include <iostream>
#include <string.h>
using namespace std;

class Visitor
{
public:
    Visitor();
    virtual ~Visitor();

public:
    virtual void visitCPU(CPU *cpu);
    virtual void visitVedioCard(VedioCard *card);
    virtual void visitMainBoard(MainBoard *board);
    virtual void visitGPU(GPU *gpu);
};

#endif // VISITOR_H
